package com.cn.api;

import com.cn.dto.ScenicSortDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Primary;
import org.springframework.web.bind.annotation.GetMapping;
import java.util.List;

@Primary
@FeignClient(value = "product-client",path = "/scenicSort")
public interface ScenicSortCoreService {
    //查询所有景区分类
    @GetMapping("/querySort")
    List<ScenicSortDTO> findAll();
}
